﻿using System;
using Airborne.ScrumPoker.Model.TeamFoundation;
using Airborne.ScrumPoker.Module.Events;
using Airborne.ScrumPoker.Module.TeamFoundation.Model;

namespace Airborne.ScrumPoker.Module.TeamFoundation.Views
{
    public interface IWorkItemSelectView
    {
        event EventHandler<ItemSelectedEventArgs<ITeamProject>> ProjectSelected;
        event EventHandler<ItemSelectedEventArgs<ITeamWorkItem>> WorkItemSelected;

        TeamFoundationConfiguration Configuration { get; set; }

        void SetProjects(ITeamProject[] projects);
        void SetWorkItems(ITeamWorkItem[] workItems);


        void ForceNextWorkItemSelection(int steps);

    }
}
